<div class="mainbody">
<div class="navlink"><a href="http://blog.1sters.com/admin/admincp.php?job=main">控制面版</a> » 系统设置</div>
</div>


<div class="mainbody">
  <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
    <tbody><tr>
      <td style="width: 150px;" valign="top"><div class="tableborder">
          <div class="tableheader">系统设置</div>
          <div class="leftmenubody">

<div class="leftmenuitem">• <%=link_to "系统设置",:controller=>'admin/configuration',:action=>'index'%></div>

<div class="leftmenuitem">•
<%=link_to_remote (
              "基本设置", 
              {
              :update => "cp_main",
        	  :url => {:controller=>"admin/configuration",
        	  :action => "base"},
        	  :complete => "new Effect.Highlight('cp_main')"
        	  },{:class=>"link_item"})
        	   %>
</div>

<div class="leftmenuitem">•
<%=link_to_remote (
              "简介设置", 
              {
              :update => "cp_main",
        	  :url => {:controller=>"admin/configuration",
        	  :action => "desc"},
        	  :complete => "new Effect.Highlight('cp_main')"
        	  },{:class=>"link_item"})
        	   %>
</div>

<div class="leftmenuitem">•
<%=link_to_remote (
              "显示设置", 
              {
              :update => "cp_main",
        	  :url => {:controller=>"admin/configuration",
        	  :action => "config_num"},
        	  :complete => "new Effect.Highlight('cp_main')"
        	  },{:class=>"link_item"})
        	   %>
</div>

<div class="leftmenuitem">•
<%=link_to_remote (
              "侧栏设置", 
              {
              :update => "cp_main",
        	  :url => {:controller=>"admin/configuration",
        	  :action => "config_show"},
        	  :complete => "new Effect.Highlight('cp_main')"
        	  },{:class=>"link_item"})
        	   %>
</div>

<div class="leftmenuitem">•
<%=link_to_remote (
              "编辑器设置", 
              {
              :update => "cp_main",
        	  :url => {:controller=>"admin/configuration",
        	  :action => "editer"},
        	  :complete => "new Effect.Highlight('cp_main')"
        	  },{:class=>"link_item"})
        	   %>
</div>

<div class="leftmenuitem">•
<%=link_to_remote (
              "评论设置", 
              {
              :update => "cp_main",
        	  :url => {:controller=>"admin/configuration",
        	  :action => "comment"},
        	  :complete => "new Effect.Highlight('cp_main')"
        	  },{:class=>"link_item"})
        	   %>
</div>




            
          </div>
        </div></td>
      <td style="width: 20px;" valign="top"></td>
      
      <td valign="top">
      
      <div id="cp_main">
        <%= error_messages_for 'user' %>
        <%= form_tag :action => 'update' %>

          <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody><tr>
              <td class="rightmainbody">
                  <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                  
                  <tbody>
                  <tr class="tdbheader">
                    <td colspan="2">系统设置</td>
                  </tr>

                  <tr class="tablecell">
                    <td width="50%">
                    <b><%=@app_name.title %></b><br/>
                    <%=@app_name.description %></td>
                    <td><%= text_field_tag 'name', nil  ,{:value=>"#{@app_name.value}",:size=>50, :class => 'formfield' }%></td>
                  </tr>
                  
                  <tr class="tablecell">
                    <td width="50%">
                    <b><%=@app_url.title %></b><br/>
                    <%=@app_url.description %></td>
                    <td><%= text_field_tag 'url', nil  ,{:size=>50,:maxlength=>"50",:value=>"#{@app_url.value}", :class => 'formfield'} %>
                    </td>
                  </tr>    

                 <tr class="tablecell">
                    <td width="50%">
                    <b><%=@app_title.title %></b><br/>
                    <%=@app_title.description %></td>
                    <td>
                    <%= text_field_tag 'title', nil  ,{:size=>50,:maxlength=>"50",:value=>"#{@app_title.value}", :class => 'formfield'} %>
                    </td>
                  </tr> 

                 <tr class="tablecell">
                    <td width="50%">
                    <b><%=@app_subtitle.title %></b><br/>
                    <%=@app_subtitle.description %></td>
                    <td>
                    <%= text_field_tag 'subtitle', nil  ,{:size=>50,:maxlength=>"50",:value=>"#{@app_subtitle.value}", :class => 'formfield'} %>
                    </td>
                  </tr> 





                  <tr class="tablecell">
                    <td colspan="2" align="center">
                    
                    <%= submit_tag '提交!', :class=>"formbutton"  %>
                    <input value="重置" class="formbutton" type="reset">
                    </td>
                  </tr>
                  <tr>
                    <td class="tablebottom" colspan="2"></td>
                  </tr>
                </tbody></table></td>
            </tr>

          </tbody></table>
        
       </div>
        </td>
    </tr>
  </tbody></table>
</div>










  



